How can I compare the number of alerts with the number of incidents?

Hi there,

I couldn’t find a method to compare the number of alerts with the number of incidents. I want to know how many alerts have been saved.

Any ideas to get the desired info? Thanks.

Hello @Mia and welcome to PagerDuty community!

I believe we don’t have a report for that specific use case, if that was what you were looking for. Still, if I understood your question properly you can get that information using our REST APIs.

If you run a GET operation on the /incidents operation you will get the list of incidents which contain a property named alert_counts that returns the following:

"alert_counts": {
    "all": 2,
    "triggered": 0,
    "resolved": 2
  }

This will allow you to understand how many events were grouped into each incident. Is this what you were looking for?